-- GENERATED SPELL FOR [Mosh'Ogg Warmonger] --


function spell0_709(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(8147,pUnit)
pUnit:RegisterEvent('Sorts_709', 10291, 1)
end

function Sorts_709(pUnit, Event)
local choix_sorts_709 = math.random(0, 0)
if choix_sorts_709 == 0 then
pUnit:RegisterEvent('spell0_709', 1, 1)
end
end

function mob709_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_709', math.random(1500, 3000), 1)
end

function mob709_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob709_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob709_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(709, 1, 'mob709_Action')
RegisterUnitEvent(709, 2, 'mob709_Leave')
RegisterUnitEvent(709, 3, 'mob709_Kill')
RegisterUnitEvent(709, 4, 'mob709_Die')
